package com.woniuxy.servicelayer;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniuxy.dal.entity.Collect;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author rjq51
* @description 针对表【collect(收藏表)】的数据库操作Service
* @createDate 2023-03-27 17:14:20
*/
public interface CollectService extends IService<Collect> {

    Page<Collect> pageSearch(Integer currentPage, Integer pageSize,Integer userId);

    void deleteById(Integer collectionId);

    void addFavorite(Collect collect);

    void cancelFavorite(Integer rangeId, Object userId);




}
